DBusConnection.callWithUnixFdListFinish

Finishes an operation started with g_dbus_connection_call_with_unix_fd_list().

The file descriptors normally correspond to %G_VARIANT_TYPE_HANDLE values in the body of the message. For example, if g_variant_get_handle() returns 5, that is intended to be a reference to the file descriptor that can be accessed by g_unix_fd_list_get (*out_fd_list, 5, ...).

When designing D-Bus APIs that are intended to be interoperable, please note that non-GDBus implementations of D-Bus can usually only access file descriptors if they are referenced in this way by a value of type %G_VARIANT_TYPE_HANDLE in the body of the message.

class DBusConnection
callWithUnixFdListFinish

Parameters

outFdList UnixFDList

return location for a #GUnixFDList or %NULL

res AsyncResultIF

a #GAsyncResult obtained from the #GAsyncReadyCallback passed to g_dbus_connection_call_with_unix_fd_list()

Return Value

Type: Variant

%NULL if @error is set. Otherwise a non-floating #GVariant tuple with return values. Free with g_variant_unref().

Throws

GException on failure.

Meta

Since

2.30